package com.uchengwang.ui.cm_ui.login.bean;

import com.litesuits.orm.db.annotation.Column;
import com.litesuits.orm.db.annotation.Table;
import com.uchengwang.functions.db.dbBean.DbBase;
import com.uchengwang.ui.cm_ui.umsg.bean.SchoolClubBean;

/**
 * Created by U城网 on 2017/6/2.
 * 用户信息
 */
@Table("userBean")
public class UserBean extends DbBase{
    private int age;//年龄
    private String email;//email
    private int fans;//粉丝数
    private int follows;//关注数

    @Column("id")
    private long id;//用户ID
    @Column("userPwd")
    private String userPwd;
    @Column("userName")
    private String userName;//注册时手机号
    @Column("nickName")
    private String nickName;//昵称
    @Column("sex")
    private int sex;//性别 // 0=女 1=男 其他 未设置
    @Column("token")
    private String token;//AuthToken
    @Column("uniId")
    private long uniId;//所属大学ID
    @Column("uniName")
    private String uniName;//大学名
    @Column("userAvatar")
    private String userAvatar;//头像
    @Column("userRole")
    private int userRole;//当前身份 学生/UNI社员/社长等等
    private String zoneCode;//以下为地点信息
    private String zoneName;
    private String cityCode;
    private String cityName;
    private String localCity;
    private String provinceCode;
    private String provinceName;
    private String dec;
    private String mobile;
    @Column("emotionState")
    private String emotionState;//感情状态
    @Column("isAuth")
    private boolean isAuth;
    @Column("userSign")
    private String userSign;
    @Column("hometown")
    private String hometown;
    @Column("realName")
    private String realName;
    @Column("createTime")
    private long createTime;
    private boolean isCheck;//是否选中 不是服务器返回字段，筛选时使用
    private boolean isFollow;
    private int shareVisibility;//享说能见度 0=All 1=Follows Only 2=Fans Only 3=Friends Only 暂时不用这个字段了
    private boolean fansOnly;
    private boolean followsOnly;
    private boolean friendsOnly;
    private boolean isFriend;//是否是好友
    @Column("remarkName")
    private String remarkName;
    @Column("uniDataId")
    private long uniDataId;//班级唯一的ID
    @Column("uniYear")
    private String uniYear;//入学年份
    @Column("departmentName")
    private String departmentName;//学院
    @Column("className")
    private String className;//班级

    private String orgName;
    private boolean isUni;//是否是Uni
    private boolean orgAdmin;//是否是社团

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public boolean isUni() {
        return isUni;
    }

    public void setUni(boolean uni) {
        isUni = uni;
    }

    public boolean isOrgAdmin() {
        return orgAdmin;
    }

    public void setOrgAdmin(boolean orgAdmin) {
        this.orgAdmin = orgAdmin;
    }

    public long getUniDataId() {
        return uniDataId;
    }

    public void setUniDataId(long uniDataId) {
        this.uniDataId = uniDataId;
    }

    public String getUniYear() {
        return uniYear;
    }

    public void setUniYear(String uniYear) {
        this.uniYear = uniYear;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getRemarkName() {
        return remarkName;
    }

    public void setRemarkName(String remarkName) {
        this.remarkName = remarkName;
    }

    public boolean isFansOnly() {
        return fansOnly;
    }

    public void setFansOnly(boolean fansOnly) {
        this.fansOnly = fansOnly;
    }

    public boolean isFollowsOnly() {
        return followsOnly;
    }

    public void setFollowsOnly(boolean followsOnly) {
        this.followsOnly = followsOnly;
    }

    public boolean isFriendsOnly() {
        return friendsOnly;
    }

    public void setFriendsOnly(boolean friendsOnly) {
        this.friendsOnly = friendsOnly;
    }

    public boolean isFriend() {
        return isFriend;
    }

    public void setFriend(boolean friend) {
        isFriend = friend;
    }

    private SchoolClubBean orgView;//当查询到userRole为社团时,此字段不为null

    public SchoolClubBean getOrgView() {
        return orgView;
    }

    public void setOrgView(SchoolClubBean orgView) {
        this.orgView = orgView;
    }

    public int getShareVisibility() {
        return shareVisibility;
    }

    public void setShareVisibility(int shareVisibility) {
        this.shareVisibility = shareVisibility;
    }

    public boolean isFollow() {
        return isFollow;
    }

    public void setFollow(boolean follow) {
        isFollow = follow;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public boolean isAuth() {
        return isAuth;
    }

    public void setAuth(boolean auth) {
        isAuth = auth;
    }

    public String getUserSign() {
        return userSign;
    }

    public void setUserSign(String userSign) {
        this.userSign = userSign;
    }

    public String getHometown() {
        return hometown;
    }

    public void setHometown(String hometown) {
        this.hometown = hometown;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getEmotionState() {
        return emotionState;
    }

    public void setEmotionState(String emotionState) {
        this.emotionState = emotionState;
    }

    public String getDec() {
        return dec;
    }

    public void setDec(String dec) {
        this.dec = dec;
    }

    public boolean isCheck() {
        return isCheck;
    }

    public void setCheck(boolean check) {
        isCheck = check;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getFans() {
        return fans;
    }

    public void setFans(int fans) {
        this.fans = fans;
    }

    public int getFollows() {
        return follows;
    }

    public void setFollows(int follows) {
        this.follows = follows;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public long getUniId() {
        return uniId;
    }

    public void setUniId(long uniId) {
        this.uniId = uniId;
    }

    public String getUniName() {
        return uniName;
    }

    public void setUniName(String uniName) {
        this.uniName = uniName;
    }

    public String getUserAvatar() {
        return userAvatar;
    }

    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar;
    }

    public int getUserRole() {
        return userRole;
    }

    public void setUserRole(int userRole) {
        this.userRole = userRole;
    }

    public String getZoneCode() {
        return zoneCode;
    }

    public void setZoneCode(String zoneCode) {
        this.zoneCode = zoneCode;
    }

    public String getZoneName() {
        return zoneName;
    }

    public void setZoneName(String zoneName) {
        this.zoneName = zoneName;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getLocalCity() {
        return localCity;
    }

    public void setLocalCity(String localCity) {
        this.localCity = localCity;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }
}
